package com.sugon.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 模具维护计划项
 * 表名 MODULE_MAINTAIN_PLAN_ITEM
 *
 * @author YuXD
 * @date 2020-08-14 09:42:50
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@NoArgsConstructor
@Data
public class ModuleMaintainPlanItemEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 异常记录ID,如果存在的话
     */
    private String excRecordId;
    /**
     * 实施时间
     */
    private Date implementDate;
    /**
     * 实施人
     */
    private String implementUser;
    /**
     * 删除标识
     */
    private Integer delFlag;
    /**
     * 维护规程选项
     */
    private String maintainBase;
    /**
     * 维护规程选项
     */
    private String maintainPlan;

    /**
     * 维护前检查结果
     */
    private Integer bmCheckResult;

    /**
     * 维护后确认结果AM_CONFIRM_RESULT
     */
    private Integer amConfirmResult;

    private String remark;

    /**
     * $column.comments
     */
    private String id;

    /**
     * 是否已执行
     */
    private Integer isExecuted;

    /**
     * 模具维护项内容
     */
    private ModuleMaintainOptionsEntity moduleMaintainOption;

    public ModuleMaintainPlanItemEntity(String maintainPlan, String maintainBase) {
        this.maintainBase = maintainBase;
        this.maintainPlan = maintainPlan;
    }

}
